package com.fancy.service.Impl;

import com.fancy.dao.UserVipStateDao;
import com.fancy.service.IUpdateUserVipStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UpdateUserVipStateServiceImpl implements IUpdateUserVipStateService {

    @Resource
    private UserVipStateDao userVipStateDao;

    @Override
    public boolean updateUserVipState(Integer userId) {
        return userVipStateDao.updateUserVipState(userId);
    }
}
